//
//  EndScene.h
//  Domino
//
//  Created by Alex on 14-11-16.
//
//

#ifndef __Domino__EndScene__
#define __Domino__EndScene__

#include <stdio.h>

class EndScene: public cocos2d::Layer
{
public:
    // there's no 'id' in cpp, so we recommend returning the class instance pointer
    static cocos2d::Scene* createScene();
    
    // Here's a difference. Method 'init' in cocos2d-x returns bool, instead of returning 'id' in cocos2d-iphone
    virtual bool init();
    
    // a selector callback
    void menuCloseCallback(cocos2d::Ref* pSender);
    
    // implement the "static create()" method manually
    CREATE_FUNC(EndScene);
};

#endif /* defined(__Domino__EndScene__) */
